<h1>Crm documentos List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Propietario</th>
      <th>Documento</th>
      <th>Fecha creacion</th>
      <th>Documento categoria</th>
      <th>Descripcion</th>
      <th>Publico</th>
      <th>Permisos</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Validated at</th>
      <th>Is validated</th>
      <th>Removed at</th>
      <th>Remove it</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($crm_documentos as $crm_documento): ?>
    <tr>
      <td><a href="<?php echo url_for('documento/show?id='.$crm_documento->getId()) ?>"><?php echo $crm_documento->getId() ?></a></td>
      <td><?php echo $crm_documento->getPropietarioId() ?></td>
      <td><?php echo $crm_documento->getDocumento() ?></td>
      <td><?php echo $crm_documento->getFechaCreacion() ?></td>
      <td><?php echo $crm_documento->getDocumentoCategoriaId() ?></td>
      <td><?php echo $crm_documento->getDescripcion() ?></td>
      <td><?php echo $crm_documento->getPublico() ?></td>
      <td><?php echo $crm_documento->getPermisos() ?></td>
      <td><?php echo $crm_documento->getCreatedAt() ?></td>
      <td><?php echo $crm_documento->getUpdatedAt() ?></td>
      <td><?php echo $crm_documento->getValidatedAt() ?></td>
      <td><?php echo $crm_documento->getIsValidated() ?></td>
      <td><?php echo $crm_documento->getRemovedAt() ?></td>
      <td><?php echo $crm_documento->getRemoveIt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('documento/new') ?>">New</a>
